<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>openmp</Name>
        <Homepage>https://openmp.llvm.org/</Homepage>
        <Packager>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Packager>
        <License>MIT</License>
        <IsA>library</IsA>
        <Summary>LLVM OpenMP runtime library</Summary>
        <Description>openmp provides runtime for OpenMP by LLVM</Description>
        <Archive sha1sum="fb5502f1cd73bd5c5fdf2544b263fdb2a00791d9" type="tarxz">https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/openmp-11.0.0.src.tar.xz</Archive>
        <BuildDependencies>
            <!--Dependency>llvm</Dependency>
            <Dependency>llvm-libs</Dependency>
            <Dependency>llvm-clang</Dependency>
            <Dependency>lld</Dependency-->
            <Dependency>cmake</Dependency>
<!--             <Dependency>libcxx-devel</Dependency> -->
            <Dependency>libffi-devel</Dependency>
            <Dependency>elfutils-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>openmp</Name>
        <RuntimeDependencies>
            <Dependency>llvm-libs</Dependency>
            <Dependency>libcxx</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>openmp-32bit</Name>
        <Summary>openmp 32-bit libraries</Summary>
        <PartOf>emul32</PartOf>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>libffi-32bit</Dependency>
            <Dependency>elfutils-32bit</Dependency>
<!--             <Dependency>libcxx-32bit</Dependency> -->
<!--             <Dependency>llvm-32bit</Dependency> -->
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">openmp</Dependency>
            <Dependency>libcxx-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

       <Package>
        <Name>openmp-devel</Name>
        <Summary>Development files for openmp</Summary>
        <RuntimeDependencies>
            <Dependency release="current">openmp</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
        </Files>
    </Package>

   
    <History>
        <Update release="2">
            <Date>2020-11-14</Date>
            <Version>11.0.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2020-03-28</Date>
            <Version>10.0.0</Version>
            <Comment>First release</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
    </History>
</PISI>
